<?php
declare (strict_types = 1);

namespace app\api\controller;

use app\api\model\ComAmounts;
use app\api\model\GroupMaster;
use think\db\Fetch;
use think\facade\Db;
use think\facade\View;
use think\Request;

class GroupReport
{
    /**
     * 显示数据列表
     */
    public function groupIndex()
    {
        //数组中改动部分一般为title,legend,x、y轴及series部分
        return View::fetch('group/index');
    }
    
    public function ajax()
    {
        $token='dsohaonoagnoangonaog';
        $data=GroupMaster::select();
        if($data){
            return json(['code'=>200,'msg'=>'查询成功','data'=>$data]);
        }

    }
}
